package net.maku.express.biza.convert;

import net.maku.express.biza.controller.orderlist.vo.OrderListVO;
import net.maku.express.biza.pojo.orderlist.OrderListPojo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface OrderListConvert {
    OrderListConvert INSTANCE = Mappers.getMapper(OrderListConvert.class);

    OrderListVO convert(OrderListPojo entity);

    OrderListPojo convert(OrderListVO vo);

    List<OrderListVO> convert(List<OrderListPojo> list);

}
